<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>文章 - 富文本编辑器</title>
    <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

    <link href="../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../../css/animate.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="../../css/plugins/summernote/summernote-bs3.css" rel="stylesheet">
    <link href="../../css/style.css?v=4.1.0" rel="stylesheet">
    <link href="../../css/jquery.tagsinput.min.css" rel="stylesheet">

    <link rel="stylesheet" type="text/css" href="../../css/plugins/webuploader/webuploader.css">
    <!--<link rel="stylesheet" type="text/css" href="../../css/demo/webuploader-demo.css">-->

    <!-- Data Tables -->
    <link href="../../css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
    <link href="../../css/plugins/datapicker/datepicker3.css" rel="stylesheet">

</head>

<body class="gray-bg">
<style>
    .uploader-list {
        /*width: 100%;*/
        overflow: hidden;
        float: left;
    }
    #uploader .thumbnail {
        float:left;
        width: 170px;
        height: 200px;
        overflow: hidden;
    }
    .btns{
        clear: both;
    }
    .btn-primary{
        background-color: #1ab394;
        border-color: #1ab394;
    }
    .webuploader-pick{
        background: #1ab394;
        padding:5px 10px;
    }
    div.tagsinput span.tag{
        border:1px solid #1eb2b2;
        background: #18a689;
    }
    div.tagsinput span.tag a{
        color: #999999;
    }
    .btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
    .btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
        background-color: #1ab394;
        border-color: #1ab394;
        color: #FFFFFF;
    }
</style>
<div class="wrapper wrapper-content">
    <div class="col-sm-1"></div>
    <div class="col-sm-10 animated ">
        <div class="mail-box-header" >
            <div class="text-right tooltip-demo">
                <a href="#" class="btn btn-primary btn-sm" data-toggle="tooltip" data-placement="top" title="预览"> 预览</a>
                <a href="#" id="saveRichText" class="btn btn-primary btn-sm" data-toggle="tooltip" data-placement="top" title="保存"> 保存</a>
                <a href="#" id="pushStaffs" class="btn btn-primary btn-sm" data-toggle="tooltip" data-placement="top" title="推送"> 推送</a>
            </div>
            <!--<h2>-->
                <!--写信-->
            <!--</h2>-->
            <!--<h2>-->
                <!--写信-->
            <!--</h2>-->
        </div>
        <div class="mail-box">


            <div class="mail-body">

                <div class="row">
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <input name="id" type="hidden" class="form-control">
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div id="toStaffs">
                                <a href='#' class='changeSend' style='margin: 0 5px 0 5px'  data-target='#editSend' data-toggle='modal'>选择发送范围</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="form-group">
                                <label for="tags_1" class="col-sm-1 control-label" style="text-align: left;">标签:</label>
                                <div class="col-sm-6">
                                    <input id="tags_1" type="text" class="form-control"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label" style="text-align: left;">&nbsp;&nbsp;</label>
                                <div class="col-sm-6">
                                    <p class="mt8" style="margin-top: 8px;">
                                        <span style="margin: 0;font-size: 12px;color: #999999;">最多添加5个标签</span>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--<div class="row">-->
                    <!--<div class="col-sm-12">-->
                        <!--<div class="ibox float-e-margins">-->
                            <!--<div id="tags">-->
                                <!--<a href='#' class='changeTag' style='margin: 0 5px 0 5px'   data-target='#editTag' data-toggle='modal'>选择标签</a>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
                <div class="row">
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <!--<div class="ibox-title">-->
                                <!--<h5>百度Web Uploader</h5>-->
                            <!--</div>-->
                            <div class="ibox-content">
                                <div class="page-container">
                                    <!--<p>您可以尝试文件拖拽，使用QQ截屏工具，然后激活窗口后粘贴，或者点击添加图片按钮，来体验此demo.</p>-->
                                    <div id="uploader" class="wu-example">
                                        <!--用来存放文件信息-->
                                        <div id="thelist" class="uploader-list"></div>
                                        <div class="btns">
                                            <button id="picker" class="btn btn-primary" style="padding:0px;margin-bottom: 0px;" type="button">
                                                <i class="fa fa-upload"></i>&nbsp;上传图片
                                            </button>
                                        </div>
                                        <!--<div class="btns">-->
                                        <!--<div id="picker">选择文件</div>-->
                                        <!--</div>-->
                                    </div>

                                    <!--<div id="uploader" class="wu-example">-->
                                        <!--&lt;!&ndash;用来存放文件信息&ndash;&gt;-->
                                        <!--<div class="queueList">-->
                                            <!--<div id="dndArea" class="placeholder">-->
                                                <!--<div id="filePicker"></div>-->
                                                <!--<p>(1张，支持JPG、PNG格式，较好的效果为大图640x320，小图80x80)</p>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--<div class="statusBar" style="display:none;">-->
                                            <!--<div class="progress">-->
                                                <!--<span class="text">0%</span>-->
                                                <!--<span class="percentage"></span>-->
                                            <!--</div>-->
                                            <!--<div class="info"></div>-->
                                            <!--<div class="btns">-->
                                                <!--<div id="filePicker2"></div>-->
                                                <!--<div class="uploadBtn">开始上传</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>

            <div class="mail-text h-200">

                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>标题</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content no-padding">

                        <div class="summernote">

                        </div>

                    </div>
                </div>
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>内容</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content no-padding">

                        <div class="summernote">

                        </div>

                    </div>
                </div>

                <div class="modal inmodal " id="editSend" tabindex="-1" role="dialog" aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content animated bounceInRight">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                                </button>
                                <!--<i class="fa fa-laptop modal-icon"></i>-->
                                <h4 class="modal-title">选择人员</h4>
                                <!--<small class="font-bold">这里可以显示副标题。</small>-->
                            </div>
                            --<<div class="modal-body">
                            <!--<p><strong>H+</strong> 是一个完全响应式，基于Bootstrap3.3.6最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术，她提供了诸多的强大的可以重新组合的UI组件，并集成了最新的jQuery版本(v2.1.1)，当然，也集成了很多功能强大，用途广泛的jQuery插件，她可以用于所有的Web应用程序，如网站管理后台，网站会员中心，CMS，CRM，OA等等，当然，您也可以对她进行深度定制，以做出更强系统。</p>-->
                            <!div class="ibox-content">-->
                            <div class="row form-inline" style="margin-left: 20px;margin-bottom: 15px">
                                <label class="i-checks" style="font-size: 14px;padding-right: 10px;">查询条件</label>
                                <input id="sendName" type="text" class="form-control" placeholder="姓名">
                                <button id="searchButtonModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-search"></i>&nbsp;查询</button>
                                <button id="clearButtonModal" class="btn btn-primary" style="margin-left: 5px"  type="button"><i class="fa fa-undo"></i>&nbsp;清空</button>
                            </div>

                            <div id="staffs" class="row form-inline" style="margin:10px 20px 10px 20px">
                                <span>人员：</span>
                            </div>

                            <table class="table table-striped table-bordered table-hover " style="text-align: center" id="sendTable">
                                <thead>
                                <tr>
                                    <th style="text-align: center">员工姓名</th>
                                    <th style="text-align: center">操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                </tbody>
                                <tfoot>
                                </tfoot>
                            </table>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
                                <button type="button" id="modalSave" class="btn btn-primary" >保存</button>
                            </div>
                        </div>
                        </div>
                    </div>
                </div>

            </div>

        </div>
    </div>
    <div class="col-sm-1"></div>

</div>

<!-- 全局js -->
<script src="../../js/jquery.min.js?v=2.1.4"></script>
<script src="../../js/bootstrap.min.js?v=3.3.6"></script>



<!-- 自定义js -->
<script src="../../js/content.js?v=1.0.0"></script>


<!-- SUMMERNOTE -->
<script src="../../js/plugins/summernote/summernote.min.js"></script>
<script src="../../js/plugins/summernote/summernote-zh-CN.js"></script>
<script src="../../js/jquery.tagsinput.min.js"></script>
<script>
    $(function () {
        $('#tags_1').importTags("");
        $('#tags_1').tagsInput({
            width:'auto',
            onChange: function(){
                let len = $("#tags_1_tagsinput .tag").length;
                tags_1_addTag.style.display = "";
                if(len >= 5){
                    tags_1_addTag.style.display = "none";
                }
            }
        });
    })
</script>

<script>
    $(document).ready(function () {

        $('.summernote').summernote({
            lang: 'zh-CN'
        });

    });
    var edit = function () {
        $("#eg").addClass("no-padding");
        $('.click2edit').summernote({
            lang: 'zh-CN',
            focus: true
        });
    };
    var save = function () {
        $("#eg").removeClass("no-padding");
        var aHTML = $('.click2edit').code(); //save HTML If you need(aHTML: array).
        $('.click2edit').destroy();
    };
</script>

<!-- Web Uploader -->
<script type="text/javascript">
    // 添加全局站点信息
    var BASE_URL = 'js/plugins/webuploader';
</script>
<script src="../../js/plugins/webuploader/webuploader.min.js"></script>

<!--<script src="../../js/demo/webuploader-demo.js"></script>-->

<script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<!--提示框-->
<script src="/lib/config.js"></script>

<!-- Data Tables -->
<script src="../../js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="../../js/plugins/dataTables/dataTables.bootstrap.js"></script>

<script src="js/richtext-add.js"></script>
<script src="js/upload.js"></script>

<script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
<!--统计代码，可删除-->
</body>

</html>
